import { postAxios, getAxios, postDownloadAxios } from "@/lib/http";

export const easyComputeModelApi = {
  // ���Ӽ򵥼������ģ�� @author �Ζ�
  addEasyComputeModel: data => {
    return postAxios("/easyComputeModel/add", data);
  },
  addEasyComputeModelAndResult: data => {
    return postAxios("/easyComputeModel/addAndResult", data);
  },
  // ��ҳ��ѯ�򵥼������ģ�� @author �Ζ�
  queryEasyComputeModel: data => {
    return postAxios("/easyComputeModel/page/query", data);
  },
  // ����ɾ���򵥼������ģ�� @author �Ζ�
  batchDeleteEasyComputeModel: idList => {
    return postAxios("/easyComputeModel/deleteByIds", idList);
  },
  // �޸ļ򵥼������ģ��  @author �Ζ�
  updateEasyComputeModel: data => {
    return postAxios("/easyComputeModel/update", data);
  },
  // ����ȫ��  @author �Ζ�
  exportAll: data => {
    return postDownloadAxios("/easyComputeModel/export/all", data);
  },
  // ��������  @author �Ζ�
  batchExport: idList => {
    return postDownloadAxios("/easyComputeModel/export/batch", idList);
  }
};
